package com.onec.service.api.utils;

import javax.servlet.http.HttpServletRequest;

/**
 * @author onec
 */
public class IPUtil {

    /**
     * 简单的请求ip
     *
     * @param request
     * @return
     */
    public static String getIpAddr(HttpServletRequest request) {
        return request.getRemoteAddr();
    }

}
